// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * PlatformshippingItem
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "platform_shipping_item", autoResultMap = true)
@Schema(title = "平台发货单子表")
public class PlatformshippingItem implements Serializable {

  /**
   * 所属平台仓发货单
   */
  @TableField(value = "`parent_platformshipping`")
  @JoinField(Platformshipping.class)
  @Schema(title = "所属平台仓发货单")
  private Long parentPlatformshipping;

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 货件单号
   */
  @TableField(value = "`cargocode`")
  @Schema(title = "货件单号")
  private String cargocode;

  /**
   * 图片
   */
  @TableField(value = "`img`")
  @Schema(title = "图片")
  private String img;

  /**
   * MSKU
   */
  @TableField(value = "`msku`")
  @Schema(title = "MSKU")
  private String msku;

  /**
   * GTIN
   */
  @TableField(value = "`gtin`")
  @Schema(title = "GTIN")
  private String gtin;

  /**
   * 品名
   */
  @TableField(value = "`product_name`")
  @JoinField(Product.class)
  @Schema(title = "品名")
  private Long productName;

  /**
   * SKU
   */
  @TableField(value = "`sku`")
  @Schema(title = "SKU")
  private String sku;

  /**
   * 平台
   */
  @TableField(value = "`platformname`")
  @Schema(title = "平台")
  private String platformname;

  /**
   * 店铺
   */
  @TableField(value = "`shop_id`")
  @JoinField(ShopInfo.class)
  @Schema(title = "店铺")
  private Long shopId;

  /**
   * 国家
   */
  @TableField(value = "`countryname`")
  @Schema(title = "国家")
  private String countryname;

  /**
   * 申报量
   */
  @TableField(value = "`applynum`")
  @Schema(title = "申报量")
  private Integer applynum;

  /**
   * 发货量
   */
  @TableField(value = "`shipmentsnum`")
  @Schema(title = "发货量")
  private Integer shipmentsnum;

  /**
   * 箱规名称 (0 - 默认箱规; )
   */
  @TableField(value = "`boxgaugename`")
  @Schema(title = "箱规名称")
  private String boxgaugename;

  /**
   * 单箱数量
   */
  @TableField(value = "`quantityincase`")
  @Schema(title = "单箱数量")
  private Integer quantityincase;

  /**
   * 箱数
   */
  @TableField(value = "`boxnum`")
  @Schema(title = "箱数")
  private Integer boxnum;

  /**
   * 箱规(长)
   */
  @TableField(value = "`cbmlong`")
  @Schema(title = "箱规(长)")
  private java.math.BigDecimal cbmlong;

  /**
   * 箱规(宽)
   */
  @TableField(value = "`cbmwide`")
  @Schema(title = "箱规(宽)")
  private java.math.BigDecimal cbmwide;

  /**
   * 箱规(高)
   */
  @TableField(value = "`cbmtall`")
  @Schema(title = "箱规(高)")
  private java.math.BigDecimal cbmtall;

  /**
   * 产品箱规(长)
   */
  @TableField(value = "`spec_infolong`")
  @Schema(title = "产品箱规(长)")
  private java.math.BigDecimal specInfolong;

  /**
   * 产品箱规(宽)
   */
  @TableField(value = "`spec_infowide`")
  @Schema(title = "产品箱规(宽)")
  private java.math.BigDecimal specInfowide;

  /**
   * 产品箱规(高)
   */
  @TableField(value = "`spec_infotall`")
  @Schema(title = "产品箱规(高)")
  private java.math.BigDecimal specInfotall;

  /**
   * CBM(M3)
   */
  @TableField(value = "`cbm`")
  @Schema(title = "CBM(M3)")
  private java.math.BigDecimal cbm;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 单品净重(g)
   */
  @TableField(value = "`cgproductnetweight`")
  @Schema(title = "单品净重(g)")
  private java.math.BigDecimal cgproductnetweight;

  /**
   * 单品毛重(g)
   */
  @TableField(value = "`cgproductgrossweight`")
  @Schema(title = "单品毛重(g)")
  private java.math.BigDecimal cgproductgrossweight;

  /**
   * 单品重量(kg)
   */
  @TableField(value = "`cgproductweight`")
  @Schema(title = "单品重量(kg)")
  private java.math.BigDecimal cgproductweight;

  /**
   * 单箱净重(kg)
   */
  @TableField(value = "`cgboxgrossweight`")
  @Schema(title = "单箱净重(kg)")
  private java.math.BigDecimal cgboxgrossweight;

  /**
   * 单箱毛重(kg)
   */
  @TableField(value = "`boxgrossweight`")
  @Schema(title = "单箱毛重(kg)")
  private java.math.BigDecimal boxgrossweight;

  /**
   * 体积重
   */
  @TableField(value = "`volumeweight`")
  @Schema(title = "体积重")
  private java.math.BigDecimal volumeweight;

  /**
   * 总净重
   */
  @TableField(value = "`totalnw`")
  @Schema(title = "总净重")
  private java.math.BigDecimal totalnw;

  /**
   * 总毛重
   */
  @TableField(value = "`totalgw`")
  @Schema(title = "总毛重")
  private java.math.BigDecimal totalgw;

  /**
   * 税费
   */
  @TableField(value = "`pertax`")
  @Schema(title = "税费")
  private java.math.BigDecimal pertax;

  /**
   * 发货仓库店铺
   */
  @TableField(value = "`shippingwarehousestore`")
  @JoinField(ShopInfo.class)
  @Schema(title = "发货仓库店铺")
  private Long shippingwarehousestore;

  /**
   * 备注
   */
  @TableField(value = "`remarks`")
  @Schema(title = "备注")
  private String remarks;

  /**
   * fnsku
   */
  @TableField(value = "`fnsku`")
  @Schema(title = "fnsku")
  private String fnsku;

  /**
   * 仓位
   */
  @TableField(value = "`binid`")
  @Schema(title = "仓位")
  private Long binid;
}
